package com.server.Example;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * The type Orders example.
 */
public class OrdersExample {
    /**
     * The Order by clause.
     */
    protected String orderByClause;

    /**
     * The Distinct.
     */
    protected boolean distinct;

    /**
     * The Ored criteria.
     */
    protected List<Criteria> oredCriteria;

    /**
     * Instantiates a new Orders example.
     */
    public OrdersExample() {
        oredCriteria = new ArrayList<>();
    }

    /**
     * Sets order by clause.
     *
     * @param orderByClause the order by clause
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * Gets order by clause.
     *
     * @return the order by clause
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * Sets distinct.
     *
     * @param distinct the distinct
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * Is distinct boolean.
     *
     * @return the boolean
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * Gets ored criteria.
     *
     * @return the ored criteria
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * Or.
     *
     * @param criteria the criteria
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * Or criteria.
     *
     * @return the criteria
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * Create criteria criteria.
     *
     * @return the criteria
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * Create criteria internal criteria.
     *
     * @return the criteria
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * Clear.
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * The type Generated criteria.
     */
    protected abstract static class GeneratedCriteria {
        /**
         * The Criteria.
         */
        protected List<Criterion> criteria;

        /**
         * Instantiates a new Generated criteria.
         */
        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        /**
         * Is valid boolean.
         *
         * @return the boolean
         */
        public boolean isValid() {
            return criteria.size() > 0;
        }

        /**
         * Gets all criteria.
         *
         * @return the all criteria
         */
        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        /**
         * Gets criteria.
         *
         * @return the criteria
         */
        public List<Criterion> getCriteria() {
            return criteria;
        }

        /**
         * Add criterion.
         *
         * @param condition the condition
         */
        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        /**
         * Add criterion.
         *
         * @param condition the condition
         * @param value     the value
         * @param property  the property
         */
        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        /**
         * Add criterion.
         *
         * @param condition the condition
         * @param value1    the value 1
         * @param value2    the value 2
         * @param property  the property
         */
        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        /**
         * And orders id is null criteria.
         *
         * @return the criteria
         */
        public Criteria andOrdersIdIsNull() {
            addCriterion("Orders_id is null");
            return (Criteria) this;
        }

        /**
         * And orders id is not null criteria.
         *
         * @return the criteria
         */
        public Criteria andOrdersIdIsNotNull() {
            addCriterion("Orders_id is not null");
            return (Criteria) this;
        }

        /**
         * And orders id equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersIdEqualTo(Integer value) {
            addCriterion("Orders_id =", value, "ordersId");
            return (Criteria) this;
        }

        /**
         * And orders id not equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersIdNotEqualTo(Integer value) {
            addCriterion("Orders_id <>", value, "ordersId");
            return (Criteria) this;
        }

        /**
         * And orders id greater than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersIdGreaterThan(Integer value) {
            addCriterion("Orders_id >", value, "ordersId");
            return (Criteria) this;
        }

        /**
         * And orders id greater than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("Orders_id >=", value, "ordersId");
            return (Criteria) this;
        }

        /**
         * And orders id less than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersIdLessThan(Integer value) {
            addCriterion("Orders_id <", value, "ordersId");
            return (Criteria) this;
        }

        /**
         * And orders id less than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersIdLessThanOrEqualTo(Integer value) {
            addCriterion("Orders_id <=", value, "ordersId");
            return (Criteria) this;
        }

        /**
         * And orders id in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andOrdersIdIn(List<Integer> values) {
            addCriterion("Orders_id in", values, "ordersId");
            return (Criteria) this;
        }

        /**
         * And orders id not in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andOrdersIdNotIn(List<Integer> values) {
            addCriterion("Orders_id not in", values, "ordersId");
            return (Criteria) this;
        }

        /**
         * And orders id between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andOrdersIdBetween(Integer value1, Integer value2) {
            addCriterion("Orders_id between", value1, value2, "ordersId");
            return (Criteria) this;
        }

        /**
         * And orders id not between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andOrdersIdNotBetween(Integer value1, Integer value2) {
            addCriterion("Orders_id not between", value1, value2, "ordersId");
            return (Criteria) this;
        }

        /**
         * And movies info is null criteria.
         *
         * @return the criteria
         */
        public Criteria andMoviesInfoIsNull() {
            addCriterion("Movies_info is null");
            return (Criteria) this;
        }

        /**
         * And movies info is not null criteria.
         *
         * @return the criteria
         */
        public Criteria andMoviesInfoIsNotNull() {
            addCriterion("Movies_info is not null");
            return (Criteria) this;
        }

        /**
         * And movies info equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesInfoEqualTo(Integer value) {
            addCriterion("Movies_info =", value, "moviesInfo");
            return (Criteria) this;
        }

        /**
         * And movies info not equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesInfoNotEqualTo(Integer value) {
            addCriterion("Movies_info <>", value, "moviesInfo");
            return (Criteria) this;
        }

        /**
         * And movies info greater than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesInfoGreaterThan(Integer value) {
            addCriterion("Movies_info >", value, "moviesInfo");
            return (Criteria) this;
        }

        /**
         * And movies info greater than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesInfoGreaterThanOrEqualTo(Integer value) {
            addCriterion("Movies_info >=", value, "moviesInfo");
            return (Criteria) this;
        }

        /**
         * And movies info less than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesInfoLessThan(Integer value) {
            addCriterion("Movies_info <", value, "moviesInfo");
            return (Criteria) this;
        }

        /**
         * And movies info less than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesInfoLessThanOrEqualTo(Integer value) {
            addCriterion("Movies_info <=", value, "moviesInfo");
            return (Criteria) this;
        }

        /**
         * And movies info in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andMoviesInfoIn(List<Integer> values) {
            addCriterion("Movies_info in", values, "moviesInfo");
            return (Criteria) this;
        }

        /**
         * And movies info not in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andMoviesInfoNotIn(List<Integer> values) {
            addCriterion("Movies_info not in", values, "moviesInfo");
            return (Criteria) this;
        }

        /**
         * And movies info between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andMoviesInfoBetween(Integer value1, Integer value2) {
            addCriterion("Movies_info between", value1, value2, "moviesInfo");
            return (Criteria) this;
        }

        /**
         * And movies info not between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andMoviesInfoNotBetween(Integer value1, Integer value2) {
            addCriterion("Movies_info not between", value1, value2, "moviesInfo");
            return (Criteria) this;
        }

        /**
         * And user info is null criteria.
         *
         * @return the criteria
         */
        public Criteria andUserInfoIsNull() {
            addCriterion("User_info is null");
            return (Criteria) this;
        }

        /**
         * And user info is not null criteria.
         *
         * @return the criteria
         */
        public Criteria andUserInfoIsNotNull() {
            addCriterion("User_info is not null");
            return (Criteria) this;
        }

        /**
         * And user info equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andUserInfoEqualTo(Integer value) {
            addCriterion("User_info =", value, "userInfo");
            return (Criteria) this;
        }

        /**
         * And user info not equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andUserInfoNotEqualTo(Integer value) {
            addCriterion("User_info <>", value, "userInfo");
            return (Criteria) this;
        }

        /**
         * And user info greater than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andUserInfoGreaterThan(Integer value) {
            addCriterion("User_info >", value, "userInfo");
            return (Criteria) this;
        }

        /**
         * And user info greater than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andUserInfoGreaterThanOrEqualTo(Integer value) {
            addCriterion("User_info >=", value, "userInfo");
            return (Criteria) this;
        }

        /**
         * And user info less than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andUserInfoLessThan(Integer value) {
            addCriterion("User_info <", value, "userInfo");
            return (Criteria) this;
        }

        /**
         * And user info less than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andUserInfoLessThanOrEqualTo(Integer value) {
            addCriterion("User_info <=", value, "userInfo");
            return (Criteria) this;
        }

        /**
         * And user info in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andUserInfoIn(List<Integer> values) {
            addCriterion("User_info in", values, "userInfo");
            return (Criteria) this;
        }

        /**
         * And user info not in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andUserInfoNotIn(List<Integer> values) {
            addCriterion("User_info not in", values, "userInfo");
            return (Criteria) this;
        }

        /**
         * And user info between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andUserInfoBetween(Integer value1, Integer value2) {
            addCriterion("User_info between", value1, value2, "userInfo");
            return (Criteria) this;
        }

        /**
         * And user info not between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andUserInfoNotBetween(Integer value1, Integer value2) {
            addCriterion("User_info not between", value1, value2, "userInfo");
            return (Criteria) this;
        }

        /**
         * And movies seat is null criteria.
         *
         * @return the criteria
         */
        public Criteria andMoviesSeatIsNull() {
            addCriterion("Movies_seat is null");
            return (Criteria) this;
        }

        /**
         * And movies seat is not null criteria.
         *
         * @return the criteria
         */
        public Criteria andMoviesSeatIsNotNull() {
            addCriterion("Movies_seat is not null");
            return (Criteria) this;
        }

        /**
         * And movies seat equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesSeatEqualTo(String value) {
            addCriterion("Movies_seat =", value, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And movies seat not equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesSeatNotEqualTo(String value) {
            addCriterion("Movies_seat <>", value, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And movies seat greater than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesSeatGreaterThan(String value) {
            addCriterion("Movies_seat >", value, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And movies seat greater than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesSeatGreaterThanOrEqualTo(String value) {
            addCriterion("Movies_seat >=", value, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And movies seat less than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesSeatLessThan(String value) {
            addCriterion("Movies_seat <", value, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And movies seat less than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesSeatLessThanOrEqualTo(String value) {
            addCriterion("Movies_seat <=", value, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And movies seat like criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesSeatLike(String value) {
            addCriterion("Movies_seat like", value, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And movies seat not like criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andMoviesSeatNotLike(String value) {
            addCriterion("Movies_seat not like", value, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And movies seat in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andMoviesSeatIn(List<String> values) {
            addCriterion("Movies_seat in", values, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And movies seat not in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andMoviesSeatNotIn(List<String> values) {
            addCriterion("Movies_seat not in", values, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And movies seat between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andMoviesSeatBetween(String value1, String value2) {
            addCriterion("Movies_seat between", value1, value2, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And movies seat not between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andMoviesSeatNotBetween(String value1, String value2) {
            addCriterion("Movies_seat not between", value1, value2, "moviesSeat");
            return (Criteria) this;
        }

        /**
         * And orders type is null criteria.
         *
         * @return the criteria
         */
        public Criteria andOrdersTypeIsNull() {
            addCriterion("Orders_type is null");
            return (Criteria) this;
        }

        /**
         * And orders type is not null criteria.
         *
         * @return the criteria
         */
        public Criteria andOrdersTypeIsNotNull() {
            addCriterion("Orders_type is not null");
            return (Criteria) this;
        }

        /**
         * And orders type equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersTypeEqualTo(Integer value) {
            addCriterion("Orders_type =", value, "ordersType");
            return (Criteria) this;
        }

        /**
         * And orders type not equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersTypeNotEqualTo(Integer value) {
            addCriterion("Orders_type <>", value, "ordersType");
            return (Criteria) this;
        }

        /**
         * And orders type greater than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersTypeGreaterThan(Integer value) {
            addCriterion("Orders_type >", value, "ordersType");
            return (Criteria) this;
        }

        /**
         * And orders type greater than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("Orders_type >=", value, "ordersType");
            return (Criteria) this;
        }

        /**
         * And orders type less than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersTypeLessThan(Integer value) {
            addCriterion("Orders_type <", value, "ordersType");
            return (Criteria) this;
        }

        /**
         * And orders type less than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersTypeLessThanOrEqualTo(Integer value) {
            addCriterion("Orders_type <=", value, "ordersType");
            return (Criteria) this;
        }

        /**
         * And orders type in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andOrdersTypeIn(List<Integer> values) {
            addCriterion("Orders_type in", values, "ordersType");
            return (Criteria) this;
        }

        /**
         * And orders type not in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andOrdersTypeNotIn(List<Integer> values) {
            addCriterion("Orders_type not in", values, "ordersType");
            return (Criteria) this;
        }

        /**
         * And orders type between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andOrdersTypeBetween(Integer value1, Integer value2) {
            addCriterion("Orders_type between", value1, value2, "ordersType");
            return (Criteria) this;
        }

        /**
         * And orders type not between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andOrdersTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("Orders_type not between", value1, value2, "ordersType");
            return (Criteria) this;
        }

        /**
         * And orders price is null criteria.
         *
         * @return the criteria
         */
        public Criteria andOrdersPriceIsNull() {
            addCriterion("Orders_price is null");
            return (Criteria) this;
        }

        /**
         * And orders price is not null criteria.
         *
         * @return the criteria
         */
        public Criteria andOrdersPriceIsNotNull() {
            addCriterion("Orders_price is not null");
            return (Criteria) this;
        }

        /**
         * And orders price equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersPriceEqualTo(BigDecimal value) {
            addCriterion("Orders_price =", value, "ordersPrice");
            return (Criteria) this;
        }

        /**
         * And orders price not equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersPriceNotEqualTo(BigDecimal value) {
            addCriterion("Orders_price <>", value, "ordersPrice");
            return (Criteria) this;
        }

        /**
         * And orders price greater than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersPriceGreaterThan(BigDecimal value) {
            addCriterion("Orders_price >", value, "ordersPrice");
            return (Criteria) this;
        }

        /**
         * And orders price greater than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("Orders_price >=", value, "ordersPrice");
            return (Criteria) this;
        }

        /**
         * And orders price less than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersPriceLessThan(BigDecimal value) {
            addCriterion("Orders_price <", value, "ordersPrice");
            return (Criteria) this;
        }

        /**
         * And orders price less than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrdersPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("Orders_price <=", value, "ordersPrice");
            return (Criteria) this;
        }

        /**
         * And orders price in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andOrdersPriceIn(List<BigDecimal> values) {
            addCriterion("Orders_price in", values, "ordersPrice");
            return (Criteria) this;
        }

        /**
         * And orders price not in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andOrdersPriceNotIn(List<BigDecimal> values) {
            addCriterion("Orders_price not in", values, "ordersPrice");
            return (Criteria) this;
        }

        /**
         * And orders price between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andOrdersPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Orders_price between", value1, value2, "ordersPrice");
            return (Criteria) this;
        }

        /**
         * And orders price not between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andOrdersPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Orders_price not between", value1, value2, "ordersPrice");
            return (Criteria) this;
        }

        /**
         * And is fully is null criteria.
         *
         * @return the criteria
         */
        public Criteria andIsFullyIsNull() {
            addCriterion("Is_fully is null");
            return (Criteria) this;
        }

        /**
         * And is fully is not null criteria.
         *
         * @return the criteria
         */
        public Criteria andIsFullyIsNotNull() {
            addCriterion("Is_fully is not null");
            return (Criteria) this;
        }

        /**
         * And is fully equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andIsFullyEqualTo(Boolean value) {
            addCriterion("Is_fully =", value, "isFully");
            return (Criteria) this;
        }

        /**
         * And is fully not equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andIsFullyNotEqualTo(Boolean value) {
            addCriterion("Is_fully <>", value, "isFully");
            return (Criteria) this;
        }

        /**
         * And is fully greater than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andIsFullyGreaterThan(Boolean value) {
            addCriterion("Is_fully >", value, "isFully");
            return (Criteria) this;
        }

        /**
         * And is fully greater than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andIsFullyGreaterThanOrEqualTo(Boolean value) {
            addCriterion("Is_fully >=", value, "isFully");
            return (Criteria) this;
        }

        /**
         * And is fully less than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andIsFullyLessThan(Boolean value) {
            addCriterion("Is_fully <", value, "isFully");
            return (Criteria) this;
        }

        /**
         * And is fully less than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andIsFullyLessThanOrEqualTo(Boolean value) {
            addCriterion("Is_fully <=", value, "isFully");
            return (Criteria) this;
        }

        /**
         * And is fully in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andIsFullyIn(List<Boolean> values) {
            addCriterion("Is_fully in", values, "isFully");
            return (Criteria) this;
        }

        /**
         * And is fully not in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andIsFullyNotIn(List<Boolean> values) {
            addCriterion("Is_fully not in", values, "isFully");
            return (Criteria) this;
        }

        /**
         * And is fully between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andIsFullyBetween(Boolean value1, Boolean value2) {
            addCriterion("Is_fully between", value1, value2, "isFully");
            return (Criteria) this;
        }

        /**
         * And is fully not between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andIsFullyNotBetween(Boolean value1, Boolean value2) {
            addCriterion("Is_fully not between", value1, value2, "isFully");
            return (Criteria) this;
        }

        /**
         * And order created time is null criteria.
         *
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeIsNull() {
            addCriterion("Order_created_time is null");
            return (Criteria) this;
        }

        /**
         * And order created time is not null criteria.
         *
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeIsNotNull() {
            addCriterion("Order_created_time is not null");
            return (Criteria) this;
        }

        /**
         * And order created time equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeEqualTo(Date value) {
            addCriterion("Order_created_time =", value, "orderCreatedTime");
            return (Criteria) this;
        }

        /**
         * And order created time not equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeNotEqualTo(Date value) {
            addCriterion("Order_created_time <>", value, "orderCreatedTime");
            return (Criteria) this;
        }

        /**
         * And order created time greater than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeGreaterThan(Date value) {
            addCriterion("Order_created_time >", value, "orderCreatedTime");
            return (Criteria) this;
        }

        /**
         * And order created time greater than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Order_created_time >=", value, "orderCreatedTime");
            return (Criteria) this;
        }

        /**
         * And order created time less than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeLessThan(Date value) {
            addCriterion("Order_created_time <", value, "orderCreatedTime");
            return (Criteria) this;
        }

        /**
         * And order created time less than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("Order_created_time <=", value, "orderCreatedTime");
            return (Criteria) this;
        }

        /**
         * And order created time in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeIn(List<Date> values) {
            addCriterion("Order_created_time in", values, "orderCreatedTime");
            return (Criteria) this;
        }

        /**
         * And order created time not in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeNotIn(List<Date> values) {
            addCriterion("Order_created_time not in", values, "orderCreatedTime");
            return (Criteria) this;
        }

        /**
         * And order created time between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("Order_created_time between", value1, value2, "orderCreatedTime");
            return (Criteria) this;
        }

        /**
         * And order created time not between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andOrderCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("Order_created_time not between", value1, value2, "orderCreatedTime");
            return (Criteria) this;
        }

        /**
         * And order field time is null criteria.
         *
         * @return the criteria
         */
        public Criteria andOrderFieldTimeIsNull() {
            addCriterion("Order_field_time is null");
            return (Criteria) this;
        }

        /**
         * And order field time is not null criteria.
         *
         * @return the criteria
         */
        public Criteria andOrderFieldTimeIsNotNull() {
            addCriterion("Order_field_time is not null");
            return (Criteria) this;
        }

        /**
         * And order field time equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderFieldTimeEqualTo(Date value) {
            addCriterion("Order_field_time =", value, "orderFieldTime");
            return (Criteria) this;
        }

        /**
         * And order field time not equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderFieldTimeNotEqualTo(Date value) {
            addCriterion("Order_field_time <>", value, "orderFieldTime");
            return (Criteria) this;
        }

        /**
         * And order field time greater than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderFieldTimeGreaterThan(Date value) {
            addCriterion("Order_field_time >", value, "orderFieldTime");
            return (Criteria) this;
        }

        /**
         * And order field time greater than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderFieldTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Order_field_time >=", value, "orderFieldTime");
            return (Criteria) this;
        }

        /**
         * And order field time less than criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderFieldTimeLessThan(Date value) {
            addCriterion("Order_field_time <", value, "orderFieldTime");
            return (Criteria) this;
        }

        /**
         * And order field time less than or equal to criteria.
         *
         * @param value the value
         * @return the criteria
         */
        public Criteria andOrderFieldTimeLessThanOrEqualTo(Date value) {
            addCriterion("Order_field_time <=", value, "orderFieldTime");
            return (Criteria) this;
        }

        /**
         * And order field time in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andOrderFieldTimeIn(List<Date> values) {
            addCriterion("Order_field_time in", values, "orderFieldTime");
            return (Criteria) this;
        }

        /**
         * And order field time not in criteria.
         *
         * @param values the values
         * @return the criteria
         */
        public Criteria andOrderFieldTimeNotIn(List<Date> values) {
            addCriterion("Order_field_time not in", values, "orderFieldTime");
            return (Criteria) this;
        }

        /**
         * And order field time between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andOrderFieldTimeBetween(Date value1, Date value2) {
            addCriterion("Order_field_time between", value1, value2, "orderFieldTime");
            return (Criteria) this;
        }

        /**
         * And order field time not between criteria.
         *
         * @param value1 the value 1
         * @param value2 the value 2
         * @return the criteria
         */
        public Criteria andOrderFieldTimeNotBetween(Date value1, Date value2) {
            addCriterion("Order_field_time not between", value1, value2, "orderFieldTime");
            return (Criteria) this;
        }
    }

    /**
     * The type Criteria.
     */
    public static class Criteria extends GeneratedCriteria {
        /**
         * Instantiates a new Criteria.
         */
        protected Criteria() {
            super();
        }
    }

    /**
     * The type Criterion.
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        /**
         * Gets condition.
         *
         * @return the condition
         */
        public String getCondition() {
            return condition;
        }

        /**
         * Gets value.
         *
         * @return the value
         */
        public Object getValue() {
            return value;
        }

        /**
         * Gets second value.
         *
         * @return the second value
         */
        public Object getSecondValue() {
            return secondValue;
        }

        /**
         * Is no value boolean.
         *
         * @return the boolean
         */
        public boolean isNoValue() {
            return noValue;
        }

        /**
         * Is single value boolean.
         *
         * @return the boolean
         */
        public boolean isSingleValue() {
            return singleValue;
        }

        /**
         * Is between value boolean.
         *
         * @return the boolean
         */
        public boolean isBetweenValue() {
            return betweenValue;
        }

        /**
         * Is list value boolean.
         *
         * @return the boolean
         */
        public boolean isListValue() {
            return listValue;
        }

        /**
         * Gets type handler.
         *
         * @return the type handler
         */
        public String getTypeHandler() {
            return typeHandler;
        }

        /**
         * Instantiates a new Criterion.
         *
         * @param condition the condition
         */
        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        /**
         * Instantiates a new Criterion.
         *
         * @param condition   the condition
         * @param value       the value
         * @param typeHandler the type handler
         */
        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        /**
         * Instantiates a new Criterion.
         *
         * @param condition the condition
         * @param value     the value
         */
        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        /**
         * Instantiates a new Criterion.
         *
         * @param condition   the condition
         * @param value       the value
         * @param secondValue the second value
         * @param typeHandler the type handler
         */
        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        /**
         * Instantiates a new Criterion.
         *
         * @param condition   the condition
         * @param value       the value
         * @param secondValue the second value
         */
        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}